//
//  TapView.h
//  LightControl
//
//  Created by 严丹 on 2025/8/18.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
// 点击事件回调定义
typedef void (^SingleTapBlock)(void);
typedef void (^DoubleTapBlock)(void);
@interface TapView : UIView
// 单击回调
@property (nonatomic, copy) SingleTapBlock singleTapBlock;

// 双击回调
@property (nonatomic, copy) DoubleTapBlock doubleTapBlock;

@end

NS_ASSUME_NONNULL_END
